#ifndef DEXSESSION_H
#define DEXSESSION_H

#include <stdlib.h>

#include <QApplication>
#include <QDebug>
#include <QHash>

class DexSession : public QApplication
	{
		Q_OBJECT

		public:
			DexSession(int &, char **);
			~DexSession();

		protected:
			virtual void startProcesses();
			virtual void logout();

		private:
//			QHash<QString, QProcess*> processes;
			QHash<QString, qint64> procIds;

		private slots:
//			void removeProcess(int, QProcess::ExitStatus);
	};

#endif // DEXSESSION_H
